<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include::header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-xs-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal" id="settlementForm">
                        <div class="form-group">
                            <div class="col-xs-3  text-right">
                                <label class=" control-label">
                                    结算方式
                                </label>
                            </div>
                            <div class="col-xs-5  text-center">
                                <label class=" control-label">
                                    时间
                                </label>
                            </div>
                            <div class="col-xs-4">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-xs-3 text-right">
                                <label class=" control-label">
                                    按月结算：
                                </label>
                            </div>
                            <div class="col-xs-5">
                                <input id="settlementDate" type="text" class="form-control" th:value="date"
                                       placeholder="结算月份">
                                <input id="userId" type="text" class="hidden" th:value="${userId}"
                                       title="">
                            </div>
                            <div class="col-xs-4">
                                <button type="button" class="btn btn-primary" onclick="settlement(1)">结算</button>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-xs-3 text-right">
                                <label class=" control-label">
                                    按时间段结算：
                                </label>
                            </div>
                            <div class="col-xs-5">
                                <input id="settlementDateMore" type="text" class="form-control"
                                       placeholder="选择日期范围">
                            </div>
                            <div class="col-xs-4">
                                <button type="button" class="btn btn-primary" onclick="settlement(2)">结算</button>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script th:src="@{/component/laydate/laydate.js}"></script>
<script th:src="@{/appjs/yw/settlement/settlement.js}"></script>
</body>

</html>
